home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Internet Tools (InfoMagic)
/
Internet Tools.iso
/
dos_win
/
winsock
/
maillist
/
94-05.Z
/
94-05
/
000294_news@bigblue.oit.unc.edu_Sat May 21 04:49:53 1994.msg
< prev
next >
Wrap
Internet Message Format
|
1994-05-31
|
7KB
Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
id AA09258; Sat, 21 May 1994 00:25:12 -0400
Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
id AA16300; Fri, 20 May 1994 23:59:27 -0400
Received: from GATEWAY by bigblue with netnews
for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
To: winsock@sunsite.unc.edu
Date: Sat, 21 May 1994 04:49:53 GMT
From: jones@cbdb1.nimh.nih.gov (Doug Jones)
Message-Id: <jones.44.00ABADDE@cbdb1.nimh.nih.gov>
Organization: CBDB/NIMH/NIH
Sender: ses
References: <2riq40$316@agate.berkeley.edu>
Subject: Re: Problem with install Trumpet with Windows for Workgroups
In article <2riq40$316@agate.berkeley.edu> ewang@alumni.EECS.Berkeley.EDU (Edward Wang) writes:
>From: ewang@alumni.EECS.Berkeley.EDU (Edward Wang)
>Subject: Problem with install Trumpet with Windows for Workgroups
>Date: 20 May 1994 16:56:32 GMT
>Keywords: Workgroup for Windows, WINPKT
>I'm having problems installing the Trumpet Winsock with Windows for
>Workgroups. According to the Trumpet Winsock instructions I need to
>call WINPKT in my autoexec.bat file. However WINPKT takes a "vector" or
>a Software Interrupt Address as an argument. How do I find out what "vector"
>WfW is using? (The suggested default 0x60 doesnt't work.)
>I've got Trumpet to work by using my network card's default driver. I found
>the "vector" to use in the card's *.cfg file. However, when I do this I
>can't see any other workgroup machines anymore. So does anyone know what
>"vector" Windows for Workgroup's driver uses?
> Thanks,
> Edward
The vector it wants is the one from the packet driver, WFWG doesn't have one,
it uses NDIS, so you need the NDIS-packet driver shim, DIS_PKT. DIS_PKT
loads in your AUTOEXEC.BAT before WINPKT, and the default for it is 0x60.
Under WFWG, instead of being loaded in CONFIG.SYS, you have to tell
WFWG to load it as a "real mode" driver with a line in your SYSTEM.INI, and
you have to change "Load RMdrivers" to yes, something like:
...
[network drivers]
netcard=elnkii.dos
transport=*netbeui,ndishlp.sys,C:\<some path>\DIS_PKT.DOS
devdir=C:\WINDOWS
LoadRMDrivers=YES
...
Then you have to put the packet driver stuff in to PROTOCOL.INI...
Trumpet's doc's have some examples...
To make life easier, I am attaching below 2 files, cut them out, name
them appropriately, and put them with your Trumpet Winsock distribution
file. Then you can use the "Network Setup" icon in WFWG to do a
[Add Protocol..], Unlisted..., and [Browse] to the location of the files
and the Trumpet Winsock distribution. The oemsetup.inf should do
the rest for you, and you can change setup parameters here also.
Back-up you stuff first (CONFIG.SYS, AUTOEXEC.BAT, SYSTEM.INI
etc.) ther's no warranty with this stuff:
vvvvv CUT HERE vvvvv first of two files , name this file OEMSETUP.INF
; OEMSETUP.INF file for Peter R. Tattam Trumpet TCP/IP for
; Windows for Workgroups and DOS Workgroup Connection.
; These programs are Copyright (C) 1991,1992,1993,1994
; by Peter R. Tattam. All Rights Reserved.
;
; DISCLAIMER:
; Installation and use of this OEMSETUP.INF and WINPKT.BAT are
; strictly and entirely at your own risk. These are presented
; as is, and no warranty is either expressed or implied. If you
; choose to use these software and procedures, then you are
; solely responsible for any and all problems and/or damages,
; immediate or consequential.
;
; HISTORY:
; 19 Jan 94 - Original OEMSETUP.INF by B. Armstrong
; (email armstrob@systems.ssgnet.dsto.au)
; 23 Mar 94 Modified by Douglas W. Jones
; (email jones@cbdb1.nimh.nih.gov)
; - made generic reference to dis_pkt.dos
; - added choice of interrupt and chain
; vectors avoiding those commonly used by
; other processes (61, 62, 64, 67-77, and 7A)
; - replaced loading of winpkt.com with loading
; of accompanying winpkt.bat which automatically
; locates pktdrv interrupt value
[disks]
1=.,"Trumpet TCP/IP for Windows for Workgroups 3.1x",disk1
[nwsdata]
autoexec_anchor="net start"
config_anchor="workgrp.sys"
[netcard]
[transport]
pktdrv="Trumpet TCP/IP",0,ndis,tcp,real,0,implicit,pktdrv,pktdrv_xif
[pktdrv]
devdir = 1:dis_pkt.dos,1:winpkt.com,1:winpkt.bat
netdir = 1:hosts,1:protocol,1:services
windir = 1:tcpman.exe,1:winsock.dll
device = dis_pkt.dos,@devdir\dis_pkt.dos
load = winpkt.bat,"call @devdir\winpkt.bat @devdir\"
sysparm=network drivers,LoadRMDrivers,Yes,minval
[pktdrv_xif]
drivername = pktdrv$
param = intvec,"Interrupt vector",text,"0x60,0x63,0x65,0x66,0x78,0x79,0x7B,0x7C,0x7D,0x7E,0x7F",0x60
param = chainvec,"Chain vector",text,"0x60,0x63,0x65,0x66,0x78,0x79,0x7B,0x7C,0x7D,0x7E,0x7F",0x66
param = novell,"Old Novell 802.3 packets",text,"Yes,No",No
vvvvv CUT HERE vvvvv second and last file, name this file WINPKT.BAT
@ECHO OFF
rem WINPKT.BAT
rem
rem USAGE:
rem Automatically invoked by accompanying
rem OEMSETUP.INF as a CALL from AUTOEXEC.BAT
rem following the NET START command, i.e.
rem after DIS_PKT.DOS has loaded. This allows
rem automatic detection of PKTDRV interrupt
rem vector by WINPKT, and, thus, allows
rem setting this vector via the standard
rem Windows for Workgroups 3.1x dialogue boxes
rem (Network Setup [Drivers...] [Setup...]).
rem
rem DESCRIPTION:
rem This batch file tries to load WINPKT with
rem successive PKTDRV interrupt vector values
rem until WINPKT returns with ERRORLEVEL 0
rem indicating that it found a loaded PKTDRV.
rem Only values available in the accompanying
rem OEMSETUP.INF (0x60,0x63,0x65,0x66,0x78,0x79,
rem 0x7B,0x7C,0x7D,0x7E,and 0x7F) are tested.
rem This is a brute force "kludge" and could be
rem accomplished much more graceful from within
rem WINPKT (as it is by PKTMUX).
rem
rem HISTORY:
rem 22 Mar 94 - Original by Douglas W. Jones
rem (email jones@cbdb1.nimh.nih.gov)
rem
rem
SET pktdrv_vec=0x60
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try63
GOTO loaded
:try63
SET pktdrv_vec=0x63
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try65
GOTO loaded
:try65
SET pktdrv_vec=0x65
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try66
GOTO loaded
:try66
SET pktdrv_vec=0x66
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try78
GOTO loaded
:try78
SET pktdrv_vec=0x78
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try79
GOTO loaded
:try79
SET pktdrv_vec=0x79
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try7B
GOTO loaded
:try7B
SET pktdrv_vec=0x7B
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try7C
GOTO loaded
:try7C
SET pktdrv_vec=0x7C
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try7D
GOTO loaded
:try7D
SET pktdrv_vec=0x7D
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try7E
GOTO loaded
:try7E
SET pktdrv_vec=0x7E
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO try7F
GOTO loaded
:try7F
SET pktdrv_vec=0x7F
%1winpkt.com %pktdrv_vec% > NUL:
IF ERRORLEVEL 1 GOTO notloaded
GOTO loaded
:notloaded
ECHO ERROR: WINPKT not loaded; PKTDRV not found
GOTO exit
:loaded
ECHO WINPKT loaded; PKTDRV using interrupt %pktdrv_vec%
:exit
SET pktdrv_vec=